const plugin = require("./generator/template/src/config/plugin.config");

module.exports = (api, options) => {
  api.chainWebpack((webpackConfig) => {
    webpackConfig
      .plugin("themeColorReplacerPlugin")
      .use(plugin.createThemeColorReplacerPlugin(), [{}]);
  });
};
